CUW\App\Controllers\Admin\Ajax C

Total Complexity 113
Dependencies 16
Dependents 1
Total lines 721
Lines of code 476
Logical lines of code 238
Comment lines 160
Methods 31
Properties 0

Methods 31

Method Rating Maintainability Complexity Lines of code
changeCartItemVariant()
A
45 12 37
saveCampaign()
A
44 11 42
getAllOffersHtml()
A
55 8 18
saveOffer()
S
51 6 26
bulkActions()
S
52 6 24
listProducts()
S
50 5 25
saveSettings()
S
51 5 23
sanitizeOffer()
S
58 5 15
getOfferImage()
S
61 5 11
enableCampaign()
S
56 4 17
addProductToCart()
S
57 4 14
deleteCampaign()
S
56 3 17
handleAuthRequests()
S
63 4 9
handleGuestRequests()
S
63 4 9
duplicateCampaign()
S
59 3 14
deleteOffer()
S
60 3 13
getProductDetailsPopup()
S
60 3 12
listTaxonomies()
S
56 2 18
verifyNonce()
S
68 3 6
performAction()
S
66 3 7
getAuthRequestHandlers()
S
50 1 28
removeItemFromCart()
S
61 2 11
setCampaignsListLimit()
S
65 2 8
setRevenueTaxDisplay()
S
65 2 8
listCoupons()
S
59 1 14
getOfferTemplate()
S
61 1 12
getGuestRequestHandlers()
S
61 1 12
addOfferToCart()
S
66 1 7
getUpsellInfo()
S
64 1 8
getChartData()
S
64 1 8
getSearchLimit()
S
78 1 3